package RabbitMQ.Constants;

public class Constants {
//    IP地址,端口号,连接的虚拟机,账号,密码,队列
    public static final String HOST="203.33.207.200";
    public static final int PORT=5672;
    public static final String USER_NAME="shiyu";
    public static final String PASSWORD="shiyu";
//    虚拟机
    public static final String VIRTUAL_HOST="maqiu";
//    记录队列名称
    public static final String WORK_QUEUE="hello";
//发布订阅模式
    public static final String FANOUT_EXCHANGE="fanout.exchange";
    public static final String FANOUT_QUEUE1="fanout.queue1";
    public static final String FANOUT_QUEUE2="fanout.queue2";
//    路由模式
    public static final String DIRECT_EXCHANGE="direct.exchange";
    public static final String DIRECT_QUEUE1="direct.queue1";
    public static final String DIRECT_QUEUE2="direct.queue2";
//    通配符模式
    public static final String TOPIC_EXCHANGE="topic.exchange";
    public static final String TOPIC_QUEUE3="topic.queue3";
    public static final String TOPIC_QUEUE4="topic.queue4";
//  rpc模式
    public static final String RPC_REQUEST_QUEUE="rpc.qeruset.queue";
    public static final String RPC_RESPONSE_QUEUE="rpc.response.queue";

//   publisher Confirms(发布确认)
///  一共有三种,所以要创建三个队列.分别为单独确认  批量确认  异步确认
    public static final String PUBLISHER_CONFIRMS_QUEUE1="publisher.confirms.queue1";
    public static final String PUBLISHER_CONFIRMS_QUEUE2="publisher.confirms.queue2";
    public static final String PUBLISHER_CONFIRMS_QUEUE3="publisher.confirms.queue3";



}
